<?php 
require_once("nav.php");

 ?>
       <div class="col-sm-9 col-md-10">
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加美食信息</title>
</head>
<body>
<form action="admin.php?c=food&m=addfood" method="post" enctype="multipart/form-data">
  <table class="table table-hover">
    <h3><center>添加美食信息</center></h3>
    <tr>
      <td><label for="foodname">美食名称</label></td>
      <td><input type="text" name="foodname" id="foodname" required></td>
    </tr>
    <tr>
      <td><label for="tid">美食类型</label></td>
      <td>
        <select name="tid">
           <option value="0">---隶属种类---</option>
          <option value="1">热菜</option>
          <option value="2">凉菜</option>
          <option value="3">汤羹</option>
          <option value="4">主食</option>
          <option value="5">小吃</option>
          <option value="6">饮品</option>
          <option value="7">炮酱腌菜</option>

        </select>
      </td>
    </tr>
    <tr>
      <td><label for="pic">海报</label></td>
      <td>
        <input type="file" name="pic" id="pic" checked>
      </td>
    </tr>
    <tr>
      <td><label for="intro">内容简介</label></td>
      <td>
        <textarea name="intro" id="intro" checked></textarea>
      </td>
    </tr>
    <tr>
      <td><laber for="uploaddate">添加日期</td>
      <td>
        <input type="date" id="uploaddate" name="uploaddate">
      </td>
    </tr>
    
    
    <tr>
      <td colspan="2" align="center">
        <input type="submit" value="添加">
        <input type="reset" value="重置">
      </td>
    </tr>
  </table>
  
</form>
</body>
</html>
</div>

<?php 
require_once('footer.php');
 ?>